package com.qfedu.mavenk.been;

import java.util.List;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc: 学生班级信息实体类
 * @datatime: 2022/10/17 14:31
 */
public class Classes {
    private int id;
    private String class_no;
    private String class_name;
    private String class_year;
    private List<Student> stulist;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClass_no() {
        return class_no;
    }

    public void setClass_no(String class_no) {
        this.class_no = class_no;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public String getClass_year() {
        return class_year;
    }

    public void setClass_year(String class_year) {
        this.class_year = class_year;
    }

    public List<Student> getStulist() {
        return stulist;
    }

    public void setStulist(List<Student> stulist) {
        this.stulist = stulist;
    }

    public Classes() {
    }

    public Classes(int id, String class_no, String class_name, String class_year, List<Student> stulist) {
        this.id = id;
        this.class_no = class_no;
        this.class_name = class_name;
        this.class_year = class_year;
        this.stulist = stulist;
    }

    @Override
    public String toString() {
        return "Classes{" +
                "id=" + id +
                ", class_no='" + class_no + '\'' +
                ", class_name='" + class_name + '\'' +
                ", class_year='" + class_year + '\'' +
                ", stulist=" + stulist +
                '}';
    }
}
